import request from '@/utils/request'

// 查询现金流项目列表
export function listHlsCashflowItem(query) {
  return request({
    url: '/basic/hlsCashflowItem/list',
    method: 'get',
    params: query
  })
}

// 查询现金流项目详细
export function getHlsCashflowItem(cfItem) {
  return request({
    url: '/basic/hlsCashflowItem/' + cfItem,
    method: 'get'
  })
}

// 新增现金流项目
export function addHlsCashflowItem(data) {
  return request({
    url: '/basic/hlsCashflowItem',
    method: 'post',
    data: data
  })
}

// 修改现金流项目
export function updateHlsCashflowItem(data) {
  return request({
    url: '/basic/hlsCashflowItem',
    method: 'put',
    data: data
  })
}

// 删除现金流项目
export function delHlsCashflowItem(cfItem) {
  return request({
    url: '/basic/hlsCashflowItem/' + cfItem,
    method: 'delete'
  })
}
